namespace Gateway.IQuery.Department.Result;

/// <summary>
/// 部门树形结构
/// </summary>
public class DepartmentTreeResult
{
    /// <summary>
    /// 部门标识
    /// </summary>
    public string DepartmentId { get; set; }

    /// <summary>
    /// 部门编码
    /// </summary>
    public string DepartmentCode { get; set; }

    /// <summary>
    /// 部门名称
    /// </summary>
    public string DepartName { get; set; }

    /// <summary>
    /// 子节点
    /// </summary>
    public List<DepartmentTreeResult> Children { get; set; }

    /// <summary>
    /// 序号
    /// </summary>
    public int SeqNo { get; set; }

    /// <summary>
    /// 父级标识
    /// </summary>
    public string ParentId { get; set; }

    /// <summary>
    /// 是否禁用  N 未禁用  Y 已禁用
    /// </summary>
    public string Disabled { get; set; }

    /// <summary>
    /// 创建时间
    /// </summary>
    public string CreatedTime { get; set; }

    /// <summary>
    /// 备注
    /// </summary>
    public string Remark { get; set; }
}